package org.shs.common.utils;

/**
 * A simple class used whose instance will hold simple data values for
 * transferring data from one layer to another. For eg - the role of a name-value
 * pair.
 * <br/>
 * <br/><b>Created:</b>&nbsp;&nbsp; 05-Feb-2009 01:19:56
 *
 * @author anirvan
 *
 */
public class DataHolder
{
   // The name value
   private String name;
   // The value associated
   private String strVal;
   
   /**
    * Returns the name value
    * @return the name value
    */
   public String getName()
   {
      return name;
   }
   
   /**
    * Sets the name value
    * @param the name value
    */
   public void setName(String name)
   {
      this.name = name;
   }
   
   /**
    * Returns the value associated
    * @return the value associated
    */
   public String getStrVal()
   {
      return strVal;
   }
   
   /**
    * Sets the value associated
    * @param the value associated
    */
   public void setStrVal(String strVal)
   {
      this.strVal = strVal;
   }
   
}
